package net.hzlj.platform.enterprise.beans.ui;

import java.io.Serializable;

/**
 * @ClassName: ColumnBean
 * @Description: 栏目信息
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2016-01-08 15:50:39
 */
public class Column implements Serializable {

    public static final String COLUMN_ID_COMMUNICATION = "1001";
    public static final String COLUMN_ID_TELEPHONE_REPORTING = "1002";
    public static final String COLUMN_ID_QUESTION = "1003";
    public static final String COLUMN_ID_PROFILE = "1004";


    public static final String COLUMN_NAME_COMMUNICATION = "Communication";
    public static final String COLUMN_NAME_TELEPHONE_REPORTING = "TelephoneReporting";
    public static final String COLUMN_NAME_QUESTION= "Question";
    public static final String COLUMN_NAME_PROFILE = "Profile";

    public static final int COLUMN_TYPE_1 = 1;
    public static final int COLUMN_TYPE_2 = 2;
    public static final int COLUMN_TYPE_3 = 3;

    public Column() {
    }

    public Column(String columnId, String columnName, int columnType) {
        this.columnId = columnId;
        this.columnName = columnName;
        this.columnType = columnType;
    }

    public Column(String columnId, String columnName, int columnType, Object column, int columnIconResId) {
        this.columnId = columnId;
        this.columnName = columnName;
        this.columnType = columnType;
        this.column = column;
        this.columnIconResId = columnIconResId;
    }

    public Column(String columnId, String columnName, int columnType, Object column, int columnIconResId, int columnBgResId) {
        this.columnId = columnId;
        this.columnName = columnName;
        this.columnType = columnType;
        this.column = column;
        this.columnIconResId = columnIconResId;
        this.columnBgResId = columnBgResId;
    }

    public Column(String columnId, String columnName, int columnType, Object column) {
        this.columnId = columnId;
        this.columnName = columnName;
        this.columnType = columnType;
        this.column = column;
    }

    public String columnId = null;
    public String columnName = null;
    /**
     * 1:category
     * 2:contentInfo
     * 3:activity
     */
    public int columnType = 1;

    public Object column = null;

    public int columnIconResId = 0;

    public int columnBgResId = 0;
}
